#ifndef QSCRIPTOBJECTLISTWIDGETBAR_H
#define QSCRIPTOBJECTLISTWIDGETBAR_H

#include <QWidget>

#include "../../lib/corelib/fancylineedit.h"

namespace Ui {
    class QScriptObjectListWidgetBar;
}

class QScriptObjectListWidgetBar : public QWidget
{
    Q_OBJECT

public:
    explicit QScriptObjectListWidgetBar(QWidget *parent = 0);
    ~QScriptObjectListWidgetBar();

protected:
    void    paintEvent(QPaintEvent *);
protected slots:
    void    findNext_slot();
    void    findPrev_slot();
signals:
    void    findNext(const QString &text);
    void    findPrev(const QString &text);
private:
    Ui::QScriptObjectListWidgetBar *ui;

    FancyLineEdit   *m_findEdit;
};

#endif // QSCRIPTOBJECTLISTWIDGETBAR_H
